package com.cblz.bd.common.core.constant;

/**
 * {@code @Name:} ResponseStatusCode
 * {@code @Description: }
 * {@code @Author:} by yanjieping
 * {@code @CreateDate:} 2022/11/10 - 周四
 */
public enum ResponseStatusCode {
    SUCCESS(1, "正常"), ERROR(2, "异常"),NOT_LOGIN(302,"登录失效");

    private final int statusCode;
    private final String desc;

    ResponseStatusCode(int statusCode, String desc) {
        this.statusCode = statusCode;
        this.desc = desc;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getDesc() {
        return desc;
    }
}
